<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      div {
        width: 100%;
        height: 100vh;
        background-color: #000;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      h1 {
        font-size: 12vw;
        background-image: url(https://cdn.pixabay.com/photo/2025/05/07/18/46/lake-9585821_1280.jpg);
        background-repeat: no-repeat;
        background-position: center;
        /* 根据图片尺寸决定是否打开 */
        /* background-size: cover;  */
        background-clip: text;
        color: transparent;
        animation: scale 3s forwards;
      }

      @keyframes scale {
        0% {
          font-size: 300vw;
          color: transparent;
        }
        100% {
          font-size: 12vw;
          color: #fff;
        }
      }
    </style>
  </head>
  <body>
    <div>
      <h1>AMSTERDAM</h1>
    </div>
  </body>
</html>
